
import React from 'react'
import { Provider } from 'react-redux'
import { createRoot } from 'react-dom/client'
import store from './store'


const root = createRoot(document.getElementById("root"))

const App = require('./App').default

const render = () => {
  root.render(<Provider store={store}><App /></Provider>)
}

render()

if (process.env.NODE_ENV === 'development' && module.hot) {
  module.hot.accept('./App.js', render)
}